package com.profound.notes.main.slice.vm;

import com.profound.notes.mvvm.AbilityViewModel;
import com.profound.notes.mvvm.MutableLiveData;
import ohos.aafwk.ability.Ability;

/**
 * @author zjwujlei
 * @date 2021/4/24
 * @email zjwujlei@sina.com
 * @description
 */
public class MoreViewModel extends AbilityViewModel {

    public static final int PLANE_NOTE = 0;
    public static final int PLANE_TODO = 1;

    MutableLiveData<Boolean> showMore = new MutableLiveData<>(false);
    MutableLiveData<Integer> planeType = new MutableLiveData<>(0);

    public MoreViewModel(Ability ability) {
        super(ability);
    }

    /*---action----*/

    public void showMore(){
        showMore.setValue(true);
    }

    public void closeMore(){
        showMore.setValue(false);
    }

}
